<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>太极实现</title>
    <style>
        .t-c {
            position: relative;
            background: #fff;
            width: 48px;
            height: 96px;
            border-color: black;
            border-style: solid;
            border-width: 2px 50px 2px 2px;
            border-radius: 50%;
            animation:turn 3s infinite linear;
        }

        .t-c:before {
            content: "";
            position: absolute;
            width: 12px;
            height: 12px;
            background: #000;
            border: 18px solid white;
            top: 0;
            left: 50%;
            border-radius: 100%;
        }

        .t-c:after {
            content: "";
            position: absolute;
            width: 12px;
            height: 12px;
            background: #fff;
            border: 18px solid black;
            left: 50%;
            bottom: 0;
            border-radius: 100%;
        }

        @keyframes turn {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }
    </style>
</head>

<body>
    <div class="t-c"></div>
</body>

</html>